package com.riguz.springcloud.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(HttpStatus.UNAUTHORIZED)
public class InvalidPasswordException extends RuntimeException{
    public InvalidPasswordException(String detail){
        super("Password invalid:" + detail);
    }
}
